treeview: Remove a useless check
authorTimm Bäder <mail@baedert.org>
Sun, 28 Apr 2019 04:50:57 +0000 (06:50 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 28 Apr 2019 04:50:57 +0000 (06:50 +0200)
gtk/gtktreeview.c

index 8c03111ca8aafc53060baec889a830f16863c8c7..344bd1f1be62253cbbd4096a19183ee01e6993bc 100644 (file)
@@ -2526,10 +2526,7 @@ gtk_tree_view_size_allocate_columns (GtkWidget *widget)
    * which changes the total width of the tree view.  This is of
    * importance for getting the horizontal scroll bar right.
    */
-  if (tree_view->priv->width != width)
-    {
-      tree_view->priv->width = width;
-    }
+  tree_view->priv->width = width;
 }
 
 /* GtkWidget::size_allocate helper */